home *** CD-ROM | disk | FTP | other *** search
- Path: elroy.jpl.nasa.gov!usc!usc!not-for-mail
- From: sching@castor.usc.edu (James Ching)
- Newsgroups: comp.lang.c
- Subject: Global and static variables initial values...
- Date: 22 Mar 1996 16:42:53 -0800
- Organization: University of Southern California, Los Angeles, CA
- Sender: sching@castor.usc.edu
- Message-ID: <4ivhed$n8j@castor.usc.edu>
- NNTP-Posting-Host: castor.usc.edu
-
- Hi,
-
- According to the "The C Programming Language",
-
- "In the absence of explicit initialization, external and static variables
- are guaranteed to be initialized to zero."
-
- I wonder if this is a compiler dependent feature. Or required by C?
-
- James
- --
-
- While money can't buy you love,
- it puts you into great bargaining position ...
-
-